const mongoose = require('mongoose')
module.exports = mongoose.model("Data", new mongoose.Schema({
    startTime: Number,
    id: String,
    url: String,
    req: Object,
    res: Object,
    rules: Object,
    requestTime: Number,
    responseTime: Number,
    endTime: Number,
    method: String,
    hostIp: String,
    clientIp: String,
    date: String,
    clientPort: Number,
    serverPort: String,
    body: Number,
    result: Number,
    type: String,
    time: String,
    download: String,
    response: String,
    request: String,
    dns: String,
    protocol: String,
    hostname: String,
    path: String,
}))